//
//  CollectionReusableView.m
//  LiWuShuo
//
//  Created by 苗钧豪 on 16/8/2.
//  Copyright © 2016年 苗钧豪. All rights reserved.
//

#import "CollectionReusableView.h"

@implementation CollectionReusableView
- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        _label = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 100, self.bounds.size.height)];
        _label.text = @"品类";
        [self addSubview:_label];
        _btn = [UIButton buttonWithType:(UIButtonTypeCustom)];
        _btn.frame = CGRectMake(self.bounds.size.width - 100, 0, 100, self.bounds.size.height);
        [_btn setTitleColor:[UIColor blackColor] forState:(UIControlStateNormal)];
        [_btn setTitle:@"查看更多＞" forState:(UIControlStateNormal)];
        [self addSubview:_btn];
    }
    return self;
}
@end
